package cn.springcloud.alibaba.ums.controller;

// import cn.springcloud.alibaba.core.base.Result;
// import cn.springcloud.alibaba.dao.entity.SysGatewayRoute;
import cn.springcloud.alibaba.ums.service.GatewayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Slf4j
@Controller
@RequestMapping("/gateway")
public class GatewayController {

	@Autowired
	private GatewayService gatewayService;

	/**
	 * 获取所有路由信息
	 */
/*	@GetMapping("/routes")
	public Result<List<SysGatewayRoute>> routes() {
		return gatewayService.routes();
	}*/


}
